package com.github.thinwonton.springboot.showcase.jta.mybatisplus.account.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.github.thinwonton.springboot.showcase.jta.mybatisplus.account.domain.Account;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountMapper extends BaseMapper<Account> {
    int deleteAll();

    List<Account> selectAccountList(Pagination page);
}
